package com.nandi.deviceinstall.base

abstract class BaseMvpFragment<T : BasePresenter<*>> : BaseFragment(), BaseView {

    protected var mPresenter: T? = null

    override fun onDestroyView() {
        super.onDestroyView()
        if (mPresenter != null) {
            mPresenter!!.detachView()
        }
        super.onDestroyView()
    }
}
